package com.heima.pojo.sku;

import com.heima.pojo.sku_class.SkuClass;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Sku implements Serializable {
    private static final long serialVersionUID = 1L;
    public static final Integer DISCOUNT_NO = 0;
    private String skuId;
    private String skuName;
    private String skuImage;
    private Integer price;
    private String classId;
    private Integer isDiscount;
    private String unit;
    private String brandName;
    private String capacity;
    private Boolean discount;
    private String realPrice;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;

    private SkuClass skuClass;
}
